package com.lizhongbao.cloud.provider.api;

import com.lizhongbao.cloud.provider.extension.RequestContext;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping("hello")
    public String hello(){
        String user = RequestContext.getXUser();
        System.out.println("hello：" + user);
        return user;
    }
}
